using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;

public class GameOverControl : MonoBehaviour
{
    public TMP_Text scoreText;
    public Image image;
    private void Start()
    {
        int value = ScoreMangger.Instance.Score;
        scoreText.text+=value.ToString();
        image.enabled = ScoreMangger.Instance.IsNewScore;
    }
}
